package client.test;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class main extends Activity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.mainface);
	}

	public void btnonClick(View v) {

		switch (v.getId()) {

			case R.id.cutscreen: {
				Intent intent = new Intent();
				intent.setClass(main.this, ShowScreen.class);
				startActivity(intent);
			}
				break;
			case R.id.getdriverinfo: {
				Intent intent = new Intent();
				intent.setClass(main.this, ShowDriverInfo.class);
				startActivity(intent);
			}
				break;
			case R.id.getdirinfo: {
				Intent intent = new Intent();
				intent.setClass(main.this, ShowDirctory.class);
				startActivity(intent);
			}
		}
	}

}
